package com.foxconn.AppDownload;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @author zengdong
 * @version 1.0
 * @date 2023/12/18 11:15
 */
@SpringBootApplication
@MapperScan({"com.foxconn.AppDownload.mapper"})
public class AppDownloadApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(AppDownloadApplication.class, args);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(AppDownloadApplication.class);
    }

}
